package com.bwie.doctorclient.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
public class PrescriptionVO {
    //id
    private Long id;
    //患者名称
    private String patientName;
    //患者性别
    private String gender;
    //患者年龄
    private Integer age;
    //处方编号
    private String prescriptionNumber;
    //诊断
    private String diagnosis;
    //开具时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String createDatetime;
    //历史处方药品用法用量信息
    private List<DosageVO> dosageVOS;
}
